package com.ruoyi.business.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户通道对象 t_user_channel
 * 
 * @author ruoyi
 * @date 2024-02-26
 */
@Data
public class TUserChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private String userName;

    private String userIds;
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 通道类型 */
    @Excel(name = "通道类型")
    private String type;

    /** 通道编码 */
    @Excel(name = "通道编码")
    private String channel;

    /** 平台的费率。单位万分之x。默认100即1% */
    @Excel(name = "平台的费率。单位万分之x。默认100即1%")
    private Integer userRate;

    /** 是否禁用该通道，默认否 */
    @Excel(name = "是否禁用该通道，默认否")
    private Integer disabled;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 修改者 */
    @Excel(name = "修改者")
    private Long updateUser;

    private String isvInfo;

    private String channelDesc;

    private Integer ratio;

    private Integer merchantType;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("type", getType())
            .append("channel", getChannel())
            .append("userRate", getUserRate())
            .append("disabled", getDisabled())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
